package com.pactera.asmp.server.dao;

import com.pactera.asmp.server.pojo.FileParse;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

/**
 * @ProjectName: asmpserver
 * @Package: com.pactera.asmp.server.dao
 * @ClassName: FileParseMapper
 * @Author: lvzhiqiang
 * @Description: FileParseMapper
 * @Date: 2020/06/24 11:24
 * @Version: 1.0
 */
@Mapper
public interface FileParseMapper {
    /**
     * 新增
     * @param attachFile
     * @return
     */
    int insert(FileParse attachFile);

    /**
     * 根据条件查询
     * @param attachFile
     * @return
     */
    List<FileParse> selective(FileParse attachFile);

    /**
     * 按需更新
     * @param attachFile
     * @return
     */
    int updateByPrimaryKeySelective(FileParse attachFile);

    /**
     * 根据主键删除
     * @param cid
     * @return
     */
    int deleteByPrimaryKey(Long cid);

    /**
     * 根据主键批量删除
     * @param list
     * @return
     */
    int deleteByPrimaryKeys(List<Long> list);
}
